.page {
  display: flex;
  flex-wrap: wrap;
}
.box {
  border: 1px solid #999;
}

.container {
  width: 300px;
  height: 300px;
  margin: 16px;
  border: 1px solid #333;
  background-color: #f5f5f5;
}
/* flex 方案 */
.max1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.max1 .box {
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.max1 .box:nth-child(3n) {
  margin-right: 0;
}

/* grid 方案 */
.max2 {
  display: grid;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-columns: auto auto auto;
}

/* 响应式 */
.grid2 {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.grid2 .box {
  font-size: 2rem;
  padding: 1rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  border-style: dashed;
  border: 1px solid #999;
}
